@for $i from 1 through 4 {
    .theme-#{$i} {

        .el-dialog__headerbtn:focus .el-dialog__close,
        .el-dialog__headerbtn:hover .el-dialog__close {
            color: nth($button_focus_click, $i);
        }

    }
}


.v-modal-enter {
    -webkit-animation: v-modal-in .2s ease;
    animation: v-modal-in .2s ease
}

.v-modal-leave {
    -webkit-animation: v-modal-out .2s ease forwards;
    animation: v-modal-out .2s ease forwards
}

@-webkit-keyframes v-modal-in {
    0% {
        opacity: 0
    }
}

@keyframes v-modal-in {
    0% {
        opacity: 0
    }
}

@-webkit-keyframes v-modal-out {
    100% {
        opacity: 0
    }
}

@keyframes v-modal-out {
    100% {
        opacity: 0
    }
}

.v-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000
}

.el-popup-parent--hidden {
    overflow: hidden
}

.el-dialog {
    position: relative;
    margin: 0 auto 50px;
    background: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
    font-family: PingFangSC-Medium, PingFang SC;
}

.el-dialog.is-fullscreen {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
    overflow: auto
}

.el-dialog__wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0
}

.el-dialog__header {
    padding: 10px 20px 10px;
    background: #FFFFFF linear-gradient(336deg, #485B7C 0%, #232E46 100%, #232E46 100%);
    border-radius: 4px 4px 0px 0px;
    height: 40px;
}

.el-dialog__headerbtn {
    position: absolute;
    top: 13px;
    right: 19px;
    padding: 0;
    background: 0 0;
    border: none;
    outline: 0;
    cursor: pointer;
    font-size: 16px;
}

.el-dialog__headerbtn .el-dialog__close {
    color: #FFFFFF!important;
    transition: all .1s;
}
.el-dialog__headerbtn .el-dialog__close:hover{
    transform: scale(1.2);
}
.el-dialog__title {
    font-size: 12px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 17px;
    margin-bottom: 10px;
    
}
.el-dialog__title::before{
    content: "";
    width: 4px;
    height: 10px;
    display: inline-block;
    background: linear-gradient(180deg, #EA8A5E 0%, #D15230 100%);
    line-height: 12px;
    margin-right: 6px;
}

.el-dialog__body {
    padding: 16px 20px;
    color: #606266;
    font-size: 12px;
    word-break: break-all;
    padding-bottom: 0;
    max-height: 550px;
    overflow: auto;
    .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
        margin-bottom: 16px;
    }
}
// 取消弹窗内的滚动条
.dialog-auto-height{
    .el-dialog__body{
    max-height: none;
    }
}
// 弹窗里的输入框
.el-dialog .el-input__inner {
    border: 1px solid #DCE0E6;
}

.el-dialog__footer {
    border-top: 1px solid #EEEFF0;
    padding: 16px 20px;
    text-align: center; // 别乱改
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    .el-button{
        margin-left: 3px;
        margin-right: 3px;
    }
}
.el-dialog--center {
    text-align: center
}

.el-dialog--center .el-dialog__body {
    text-align: initial;
    padding: 25px 25px 30px
}

.el-dialog--center .el-dialog__footer {
    text-align: inherit
}

.dialog-fade-enter-active {
    -webkit-animation: dialog-fade-in .3s;
    animation: dialog-fade-in .3s
}

.dialog-fade-leave-active {
    -webkit-animation: dialog-fade-out .3s;
    animation: dialog-fade-out .3s
}

@-webkit-keyframes dialog-fade-in {
    0% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
        opacity: 0
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@keyframes dialog-fade-in {
    0% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
        opacity: 0
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@-webkit-keyframes dialog-fade-out {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1
    }

    100% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
        opacity: 0
    }
}

@keyframes dialog-fade-out {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1
    }

    100% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
        opacity: 0
    }
}